﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace SaleOnlineSystem.Controls
{
    public partial class Poster : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                rpt_Poster.DataSource = DAL.DCollector.DBCollector.Instance.CallStored("callstored", "SELECT * FROM tbl_Poster ORDER BY Poster_date DESC", true);
                rpt_Poster.DataBind();
            }
        }
    }
}